package models

import kotlinx.serialization.Serializable

@Serializable
data class Computer(
    val id: Int,
    val serialNumber: String,
    val model: String,
    val manufacturer: String,
    val purchaseDate: Long,
    val location: Location,
    val status: String,
    val notes: String,
    val createdAt: Long,
    val createdBy: User,
    val verifiedBy: User,
    val lastVerifiedAt: Long,
    val components: List<Component>
)

@Serializable
data class CreateComputerRequest(
    val serialNumber: String,
    val model: String,
    val manufacturer: String,
    val purchaseDate: Long,
    val locationId: Int,
    val notes: String? = null
)